Lazy Loading with EF Core Proxies
- π
- π 1,093 words
- π 5 minutes
- π¦ Development
- π·οΈ Entity Framework, MongoDB
With the Microsoft.EntityFrameworkCore.Proxies NuGet package you can use to traverse navigation properties. This is often preferable to joins and includes such as when using one-to-many or only exploring a subset of the navigations based on client-side logic or for providers that don't support include yet.
This post will show you how to set up lazy loading with EF Core Proxies and MongoDB.